<!DOCTYPE html>
<html dir="ltr">

<head>
  <meta charset="UTF-8">
  <title>Radio - Standalone</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <link href="../../../../../css/core.css" rel="stylesheet">
  <link href="../../../../../scripts/testing/styles.css" rel="stylesheet">
  <script src="../../../../../scripts/testing/scripts.js"></script>
  <script nomodule src="../../../../../dist/ionic/ionic.js"></script>
  <script type="module" src="../../../../../dist/ionic/ionic.esm.js"></script></head>

<body>
  <h1>Default</h1>
  <ion-radio-group value="radio">
    <ion-radio></ion-radio>
    <ion-radio value="radio"></ion-radio>
  </ion-radio-group>

  <h1>Colors: Unchecked</h1>
  <ion-radio color="primary"></ion-radio>
  <ion-radio color="secondary"></ion-radio>
  <ion-radio color="tertiary"></ion-radio>
  <ion-radio color="success"></ion-radio>
  <ion-radio color="warning"></ion-radio>
  <ion-radio color="danger"></ion-radio>
  <ion-radio color="light"></ion-radio>
  <ion-radio color="medium"></ion-radio>
  <ion-radio color="dark"></ion-radio>

  <h1>Colors: Checked</h1>
  <ion-radio-group value="radio">
    <ion-radio color="primary" value="radio"></ion-radio>
    <ion-radio color="secondary" value="radio"></ion-radio>
    <ion-radio color="tertiary" value="radio"></ion-radio>
    <ion-radio color="success" value="radio"></ion-radio>
    <ion-radio color="warning" value="radio"></ion-radio>
    <ion-radio color="danger" value="radio"></ion-radio>
    <ion-radio color="light" value="radio"></ion-radio>
    <ion-radio color="medium" value="radio"></ion-radio>
    <ion-radio color="dark" value="radio"></ion-radio>
  </ion-radio-group>

  <h1>Disabled</h1>
  <ion-radio-group value="radio">
    <ion-radio disabled></ion-radio>
    <ion-radio color="secondary" disabled></ion-radio>
    <ion-radio disabled value="radio"></ion-radio>
    <ion-radio color="secondary" disabled value="radio"></ion-radio>
  </ion-radio-group>

  <h1>Custom</h1>

  <ion-radio-group value="radio">
    <ion-radio class="custom"></ion-radio>
    <ion-radio class="custom" value="radio"></ion-radio>
    <ion-radio class="custom" color="tertiary" value="radio"></ion-radio>
    <ion-radio class="custom-size" color="danger" value="radio"></ion-radio>
  </ion-radio-group>

  <style>
    /* to be able to see the radio buttons */
    .radio-ios {
      border: 1px solid #dedede;
      padding: 10px 5px;
    }

    .custom {
      --color: orange;
      --color-checked: hotpink;
    }

    .ios .custom-size {
      width: 60px;
      height: 96px;
    }

    .md .custom-size {
      --border-width: 8px;

      width: 80px;
      height: 80px;
    }
  </style>
</body>
</html>
